using System;
using AgileBoard.Core;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;

namespace AgileBoard.Infrastructure.NHibernateMaps
{
    public class StoryMapping :  IAutoMappingOverride<Story>
    {
        public void Override(AutoMapping<Story> mapping)
        {
            mapping.References(x => x.State);
        }
    }
}